package org.lq.ht.view.room;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JComboBox;
import javax.swing.JRadioButton;
import javax.swing.JButton;

public class ChangeRoom extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ChangeRoom frame = new ChangeRoom();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public ChangeRoom() {
		setTitle("换房");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 928, 521);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel label = new JLabel("原来客房:");
		label.setFont(new Font("宋体", Font.PLAIN, 20));
		label.setBounds(120, 83, 96, 44);
		contentPane.add(label);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(236, 96, 127, 23);
		contentPane.add(comboBox);
		
		JLabel label_1 = new JLabel("换到新客房:");
		label_1.setFont(new Font("宋体", Font.PLAIN, 20));
		label_1.setBounds(430, 96, 119, 21);
		contentPane.add(label_1);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setBounds(556, 96, 127, 23);
		contentPane.add(comboBox_1);
		
		JRadioButton radioButton = new JRadioButton("直接换房,新客房继续沿用旧房房价");
		radioButton.setFont(new Font("宋体", Font.PLAIN, 20));
		radioButton.setBounds(214, 198, 368, 44);
		contentPane.add(radioButton);
		
		JRadioButton radioButton_1 = new JRadioButton("[新房房费]和[原来房费]不同,需要分别独立计算");
		radioButton_1.setFont(new Font("宋体", Font.PLAIN, 20));
		radioButton_1.setBounds(214, 263, 518, 23);
		contentPane.add(radioButton_1);
		
		JButton button = new JButton("确认换房");
		button.setFont(new Font("宋体", Font.PLAIN, 18));
		button.setBounds(236, 392, 127, 23);
		contentPane.add(button);
		
		JButton button_1 = new JButton("关闭");
		button_1.setFont(new Font("宋体", Font.PLAIN, 18));
		button_1.setBounds(545, 392, 97, 23);
		contentPane.add(button_1);
	}
}
